package io.renren.modules.sys.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CarmanageSaveOrUpdateDto {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String carName;

    private String carCode;

    private String drivingKMs;

    private String price;

    private String engineNumber;

    @JsonFormat(locale = "zh",timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date productionLife;

    private String carStatus;

    private String carType;

    private String back;

    private String imgId;
}
